﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenMUD.Kernel.Interface.Client;
using Open_MUD.Kernel.Interface.Client;

namespace Open_MUD.Mudlib.Cmds
{
    class Unalias:CommandBase
    {
        public Unalias(Cliente c)
            : base(c, "unalias", 0)
        {
            this.ignoreGlobalCD = true;
        }
        public override void executeCMD(string cmd)
        {
            base.executeCMD(cmd);
            this.cliente.RemoveAlias(args);            
            this.cliente.render("Alias " + args + " eliminado.");
        }
    }
}
